#ifndef __IDW_H
#define __IDW_H

#include <math.h>
#include <stdlib.h>
#include <stdint.h>

void idwBilinear(const float *src, uint8_t src_rows, uint8_t src_cols,
                 int16_t *dest, uint16_t dest_rows, uint16_t dest_cols, uint8_t upScaleFactor);

void idwGauss(int16_t *src, uint16_t w, uint16_t h, float *dest);
void idwGaussInt(int16_t *src, uint16_t w, uint16_t h, int16_t *dest);
void idwOldInterpolate(int16_t *src, uint8_t src_rows, uint8_t src_cols, uint8_t steps, int16_t *pHdImage);

#endif
